package com.ywl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ywl.pojo.Admin;
import com.ywl.pojo.LoginForm;

/**
 * @author DL5O
 * @version 1.0
 */
public interface AdminService extends IService<Admin> {

    Admin login(LoginForm loginForm);

    Admin getAdminById(Long userId);

    IPage<Admin> getAdminOpr(Page<Admin> page, String adminName);

}
